export const BLZTOptions = [
  {
    label: '已提交',
    value: '0'
  },
  {
    label: '已受理',
    value: '1'
  },
  {
    label: '不予受理',
    value: '2'
  },
  {
    label: '需补正',
    value: '3'
  },
  {
    label: '已办结',
    value: '4'
  },
  {
    label: '初审/二审通过',
    value: '10'
  },
]
export const LCJDOptions = [
  {
    label: '受理',
    value: '1'
  },
  {
    label: '审核',
    value: '2'
  },
  {
    label: '登簿',
    value: '3'
  },
  {
    label: '缮证',
    value: '4'
  },
]
export const JDZTOptions = [
  {
    label: '受理',
    value: '1'
  },
  {
    label: '审核',
    value: '2'
  },
  {
    label: '登簿',
    value: '3'
  },
  {
    label: '缮证',
    value: '4'
  },
]
export const modelSchema = [
  {
    label: '区县代码',
    prop: 'qxdm',
    showInTable: false,
    showInQuery: true,
    showInForm: false,
    component: 'input',
    componentProps: {},
  },
  {
    label: '内网业务号',
    prop: 'ywh',
    showInTable: false,
    showInQuery: true,
    showInForm: false,
    component: 'input',
    componentProps: {},
  },
  {
    label: '姓名',
    prop: 'xm',
    showInTable: false,
    showInQuery: true,
    showInForm: false,
    component: 'input',
    componentProps: {},
  },
  {
    label: '证件类型',
    prop: 'zjlx',
    showInTable: false,
    showInQuery: true,
    showInForm: false,
    component: 'input',
    componentProps: {},
  },
  {
    label: '证件号码',
    prop: 'zjhm',
    showInTable: false,
    showInQuery: true,
    showInForm: false,
    component: 'input',
    componentProps: {},
  },
  {
    label: '查询人类型',
    prop: 'cxrlx',
    showInTable: false,
    showInQuery: true,
    showInForm: false,
    component: 'select',
    componentProps: {
      options: [
        {
          label: '本人',
          value: '1',
        },
        {
          label: '委托人',
          value: '2',
        },
        {
          label: '其他',
          value: '3',
        },
      ]
    },
  },

  // {
  //   label: '主键',
  //   prop: 'id',
  //   showInTable: false,
  //   showInQuery: false,
  //   showInForm: false,
  //   component: 'input',
  //   componentProps: {},
  // },
  {
    label: '业务号',
    prop: 'YWH',
    showInTable: true,
    showInQuery: false,
    showInForm: true,
    component: 'input',
    componentProps: {},
  },
  {
    label: '权利人',
    prop: 'QLR',
    showInTable: true,
    showInQuery: false,
    showInForm: true,
    component: 'input',
    componentProps: {},
  },
  {
    label: '义务人',
    prop: 'YWR',
    showInTable: true,
    showInQuery: false,
    showInForm: true,
    component: 'input',
    componentProps: {},
  },
  {
    label: '申请时间',
    prop: 'SQSJ',
    showInTable: true,
    showInQuery: false,
    showInForm: true,
    format: (text) => this.parseTime(text, '{y}-{m}-{d}'),
    component: 'dateSelect',
    componentProps: {},
  },
  {
    label: '事项名称',
    prop: 'SXMC',
    showInTable: true,
    showInQuery: false,
    showInForm: true,
    component: 'input',
    componentProps: {},
  },
  {
    label: '办理结果',
    prop: 'BLJG',
    showInTable: true,
    showInQuery: false,
    showInForm: true,
    component: 'input',
    componentProps: {},
  },
  {
    label: '办理状态',
    prop: 'BLZT',
    showInTable: true,
    showInQuery: false,
    showInForm: true,
    component: 'select',
    componentProps: {
      options: [
        ...BLZTOptions,
      ]
    },
  },
]
